import request from '@/utils/request'

//获取版本信息 searchData => object
export function getVersionList(searchData) {
  return request.get(`/get/app/version/info`,{params:searchData})
}

// 添加/修改  版本信息
export function addUpdateVs(data) {
  const {id} = data;
  return request.post(`/${id ? `update` : `create` }/app/version/info`,data)
}


